package com.steel.yfmall.cloud.assistant.api.stock;

import com.steel.yfmall.cloud.assistant.bean.param.APIParamUserAccounts;
import com.steel.yfmall.cloud.assistant.bean.result.APIResultErpUserAccounts;
import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: UserAccountsService
 * @author: liuzhijun
 * @date: 2021-03-23 20:21
 **/
@FeignClient(value = "YFMALL-ASSISTANT-SERVICE-PROVIDER")
@Component
public interface ErpUserAccountsServiceAPI {


    /**
     * 根据用户名+账户号码查询 账户运费余额 和账户余额
     *
     * @param apiParamUserAccounts
     * @return com.steel.yfmall.cloud.components.utils.base.APIMsgBean<com.steel.yfmall.cloud.assistant.bean.result.APIResultErpUserAccounts>
     * @author liuzhijun
     * @date 2021/4/2 18:04
     */
    @RequestMapping(value = "getUserAccountsMoneyInfo")
    APIMsgBean<APIResultErpUserAccounts> getUserAccountsMoneyInfo(APIParamUserAccounts apiParamUserAccounts);


}
